package com.by.course.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class BaseLessonReview implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "评价ID")
    private Long id;

    @ApiModelProperty(value = "学生ID")
    private Long userId;

    @ApiModelProperty(value = "预约ID")
    private Long baseAppointmentId;

    @ApiModelProperty(value = "评分（1-5星）")
    private Integer rating;

    @ApiModelProperty(value = "评价时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "评价内容")
    private String comment;

    @ApiModelProperty(value = "评价")
    private String content;

    @ApiModelProperty(value = "课程图片")
    private String imgUrl;

    @ApiModelProperty(value = "老师ID")
    private Long teacherId;

    private static final long serialVersionUID = 1L;
}